<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户登录</title>
</head>
<body>
<%@ include file="../common/header.jsp" %>

<h3>用户登录</h3>

<div>
	<c:if test="${error}">
		<div class="loginMsg">${errormsg}<i></i></div>
	</c:if>
	
	<form action="<%=request.getContextPath()%>/user/modifypw" method="POST">
	<ul>
	
		<li><input type="hidden" name="userId" value="${loginuser.id}"/></li>
		<li><span>用户名：</span>${loginuser.name}</li>
		<li><span>旧密码：</span><input type="password" id="oldpassword" name="oldPassword"/>${oldPasswordv}</li>
		<li><span>新密码：</span><input type="password" id="newpassword" name="newPassword"/>${newPasswordv}</li>
		<li><span>确认新密码：</span><input type="password" id="newpassword1" name="newPassword1"/></li>
		<li><input type="submit" id="submit" value="修改提交"/></li>
	</ul>
	</form>
</div>

</body>
</html>